import request from '@/utils/request'

const uploadURL = process.env.BASE_API + '/images'

export default uploadURL

export function upload(data) {
  return request({
    url: uploadURL,
    method: 'post',
    data: data
  })
}
